#if !defined(AFX_EDITUSERDLG_H__A65B86F7_8029_41AD_877A_8AFCE1B06A27__INCLUDED_)
#define AFX_EDITUSERDLG_H__A65B86F7_8029_41AD_877A_8AFCE1B06A27__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditUserDlg.h : header file
//

#include "AddUserDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CEditUserDlg dialog

class CEditUserDlg : public CAddUserDlg
{
// Construction
public:
	CEditUserDlg(const CString &strOriginalName, const CString &strOriginalDesc, const EAuthType &atOriginalAuthType, const CString &strOriginalSn, const CString &strOriginalEncPwd, const CString &strOriginalRoles, CWnd* pParent = NULL);   // standard constructor

// Attributes
public:
	CString m_strOriginalName;
	CString	m_strOriginalDesc;
	EAuthType m_atOriginalAuthType;
	CString m_strOriginalSn;
	CString m_strOriginalEncPwd;
	CString m_strOriginalRoles;
// Dialog Data
	//{{AFX_DATA(CEditUserDlg)
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEditUserDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	BOOL IsRolesChanged();
	BOOL IsCommonPropertiesChanged();
	virtual BOOL VarifyData();

	// Generated message map functions
	//{{AFX_MSG(CEditUserDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EDITUSERDLG_H__A65B86F7_8029_41AD_877A_8AFCE1B06A27__INCLUDED_)
